package com.kang.service.userService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kang.bean.FriendGroup;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
@FeignClient("springcloud-zuul") //调用的服务名称  spring。application。name的值
@RequestMapping("/fawu/user-api/friendGroup")
@Service
public interface FriendGroupService{
    @PostMapping
    void addFriendGroup(@RequestBody FriendGroup friendGroup);
}
